import pandas as pd

data = pd.read_csv("data/Q3data.csv", index_col=0)

PM = pd.read_csv("data/PM.csv", index_col=0)

print(data)
print(PM)

# Q2 = pd.concat([data, PM],axis=1)
Q2 = pd.read_csv("data/Q2.csv",index_col=0)
print(Q2)
Q2['O3'] = Q2['O3'].interpolate()
Q2['PM2.5'] = Q2['PM2.5'].interpolate()
Q2['PM10'] = Q2['PM10'].interpolate()
Q2.to_csv("data/Q2.csv")